using SQLBuilder;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EntityCreater
{

    /// <summary>
    /// 创 建：邓振振
    /// 日 期：2018/7/27 12:34:38
    /// 描 述：用户信息表
    /// </summary>
    [Table("Base_User")]
    public class Base_UserEntity 
    {
        /// <summary>
        /// 用户主键
        /// </summary>
        /// <returns></returns>
        [Key]
        public string UserId { get; set; }


        /// <summary>
        /// 用户编码
        /// </summary>		
        public string EnCode { get; set; }

        /// <summary>
        /// 登录账户
        /// </summary>		
        public string Account { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>		
        public string Password { get; set; }

        /// <summary>
        /// 密码秘钥
        /// </summary>		
        public string Secretkey { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>		
        public string RealName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>		
        public string HeadIcon { get; set; }

        /// <summary>
        /// 简拼
        /// </summary>		
        public string SimpleSpelling { get; set; }

        /// <summary>
        /// 机构主键
        /// </summary>		
        public string OrganizeId { get; set; }

        /// <summary>
        /// 部门主键
        /// </summary>		
        public string DepartmentId { get; set; }

        /// <summary>
        /// 角色主键
        /// </summary>		
        public string RoleId { get; set; }

        /// <summary>
        /// 岗位主键
        /// </summary>		
        public string DutyId { get; set; }

        /// <summary>
        /// 岗位名称
        /// </summary>		
        public string DutyName { get; set; }

        /// <summary>
        /// 供销ID
        /// </summary>		
        public string ObjectId { get; set; }

        /// <summary>
        /// 门店ID
        /// </summary>		
        public string DealerId { get; set; }

        /// <summary>
        /// 对应优信通ID
        /// </summary>		
        public string UxtId { get; set; }

        /// <summary>
        /// 对应优信通ID
        /// </summary>		
        public string UxtName { get; set; }

        /// <summary>
        /// 在线状态
        /// </summary>		
        public int? UserOnLine { get; set; }

        /// <summary>
        /// 允许多用户同时登录
        /// </summary>		
        public int? CheckOnLine { get; set; }

        /// <summary>
        /// 上一次访问时间
        /// </summary>		
        public DateTime? PreviousVisit { get; set; }

        /// <summary>
        /// 最后访问时间
        /// </summary>		
        public DateTime? LastVisit { get; set; }

        /// <summary>
        /// 登录次数
        /// </summary>		
        public int? LogOnCount { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>		
        public int? SortCode { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>		
        public int? DeleteMark { get; set; }

        /// <summary>
        /// 内部员工
        /// </summary>		
        public int? InnerEmployee { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>		
        public int? EnabledMark { get; set; }

        /// <summary>
        /// 备注
        /// </summary>		
        public string Description { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>		
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 创建用户主键
        /// </summary>		
        public string CreateUserId { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>		
        public string CreateUserName { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>		
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 修改用户主键
        /// </summary>		
        public string ModifyUserId { get; set; }

        /// <summary>
        /// 修改用户
        /// </summary>		
        public string ModifyUserName { get; set; }

    }
}